package com.example.kingdee.entity;

import com.google.gson.annotations.SerializedName;
import lombok.Data;

import java.util.List;

@Data
public class JstSalOrderUpload {

	//店铺编码
	private int shopNumber;

	//金蝶账号
	private String kingdeeBillNo;

	//线上订单号
	@SerializedName("so_id")
	private String soId;
	//买家帐号
	@SerializedName("shop_buyer_id")
	private String shopBuyerId;
	//省
	@SerializedName("receiver_state")
	private String receiverState;
	//市
	@SerializedName("receiver_city")
	private String receiverCity;
	//区
	@SerializedName("receiver_district")
	private String receiverDistrict	;
	//收货地址
	@SerializedName("receiver_address")
	private String receiverAddress;
	//应付金额
	@SerializedName("pay_amount")
	private double payAmount;
	//运费
	@SerializedName("freight")
	private double freight;
	//备注
	@SerializedName("remark")
	private String remark;
	//收件人
	@SerializedName("receiver_name")
	private String receiverName;
	//电话
	@SerializedName("receiver_phone")
	private String receiverPhone;
	//手机
	@SerializedName("receiver_mobile")
	private String receiverMobile;
	//快递公司名称
	@SerializedName("logistics_company")
	private String logisticsCompany;
	//店铺
	@SerializedName("shop_id")
	private int shopId;
	//物料
	@SerializedName("items")
	private List<ItemsItem> itemList;
	//支付信息
	@SerializedName("pay")
	private PayInfo pay;

	@Data
	public static class PayInfo {
		//外部支付单号
		@SerializedName("outer_pay_id")
		private String outerPayId;
		//支付日期
		@SerializedName("pay_date")
		private String payDate;
		//支付方式
		@SerializedName("payment")
		private String payment;
		//收款账户
		@SerializedName("seller_account")
		private String sellerAccount;
		//买家支付账号
		@SerializedName("buyer_account")
		private String buyerAccount;
		//支付总额
		@SerializedName("amount")
		private double amount;
	}


}